package com.topteam.demo.controller

import org.apache.deltaspike.core.api.config.view.ViewConfig
import javax.enterprise.inject.Model
import com.topteam.demo.Pages

/**
 * Created by thinkpad on 14-1-24.
 */
@Model
class IndexController {

  def gotoTodo(): Class[_ <: ViewConfig] = classOf[Pages.Page.Todo]
  
  def gotoIndex():String = {
    "index"
  }
}
